using System;
using NUnit.Framework;
using DreamPark;

namespace Tests_Parking
{
	[TestFixture()]
	public class Test_Vehicule
	{
		[Test()]
		public void Test_Instantication () {
			Vehicule vehicule = new Vehicule("AAA 123 BB", TypeVehicule.Voiture, 200, 300);
			
			Assert.AreEqual(vehicule.Immatriculation, "AAA 123 BB");
			Assert.AreEqual(vehicule.Hauteur, 200);
			Assert.AreEqual(vehicule.Longueur, 300);
			Assert.AreEqual(vehicule.Type, TypeVehicule.Voiture);
		}
	}
}

